package com.sl.biz.modular.views.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("view_config")
@Entity(name = "view_config")
public class ViewConfigDO extends CommonOrgEntity {

    /**
     * 编码
     */
    private String viewCode;

    /**
     * 名称
     */
    private String viewName;

    /**
     * 描述
     */
    private String description;

    /**
     * 分组ID
     */
    private String groupId;

    /**
     * 产品ID
     */
    private String productId;

    /**
     * 路由地址
     */
    private String routeUrl;

    /**
     * 组件地址
     */
    private String componentUrl;

    /**
     * 父菜单ID
     */
    private String parentId;

    @Lob
    @Column(length = 65_535)
    private String icon;


    @Lob
    @Column(length = 65_535)
    private String viewContent;


    /**
     * 发布状态 ONLINE上线 OFFLINE 下线
     */
    private String publishFlag;

}
